package com.lightkits.wms.domain.retirelib;

import com.lightkits.framework.common.model.CheckResult;
import com.lightkits.wms.dto.retirelib.model.RetireLibDto;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author jing.wei@hand-china.com
 * @date 2019/6/17 19:41
 **/
@Component
public interface UseRetireParams {
    /**
     * 在库报废
     *
     * @param workerId      员工Id
     * @param orgId         组织Id
     * @param retireLibDtos 在库报废列表参数
     * @return
     */
    CheckResult<String> retireLib(String workerId, String orgId, String moveTypeId, List<RetireLibDto> retireLibDtos);
}
